<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
use yii\captcha\Captcha;
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 登录</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="<?php echo Yii::getAlias('@backend_css'); ?>/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="<?php echo Yii::getAlias('@backend_css'); ?>/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="<?php echo Yii::getAlias('@backend_css'); ?>/css/animate.min.css" rel="stylesheet">
    <link href="<?php echo Yii::getAlias('@backend_css'); ?>/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-name">H+</h1>

        </div>
        <h3>欢迎使用 H+</h3>

        <?php $form = ActiveForm::begin(['id'=>'login-form','class'=>'m-t','enableClientValidation'=>true]); ?>
            <?php echo $form->field($model,'username')->textInput(['placeholder'=>'用户名'])->label(false); ?>
            <?php echo $form->field($model,'password')->passwordInput(['placeholder'=>'密码'])->label(false); ?>
            <?php echo $form->field($model,'veryCode')->label(false)->widget(Captcha::className()); ?>
            <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>


            <p class="text-muted text-center"> <a href="login.html#"><small>忘记密码了？</small></a> | <a href="register.html">注册一个新账号</a>
            </p>
        <?php $form->end(); ?>
    </div>
</div>
<script src="<?php echo Yii::getAlias('@backend_css'); ?>/js/jquery.min.js?v=2.1.4"></script>
<script src="<?php echo Yii::getAlias('@backend_css'); ?>/js/bootstrap.min.js?v=3.3.6"></script>
<style>
    #loginform-verycode{float: left;width:44%;}
</style>
</body>
</html>

